package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

@Data
@Builder
public class DynamicCommentResponse {
    @ApiModelProperty(value = "所有评论", dataType = "DynamicCommentResponse.Comment")
    private PageResponse2<Comment> list;

    @ApiModel("DynamicCommentResponse.Comment")
    @Data
    @Builder
    public static class Comment {
        @ApiModelProperty("评论ID")
        private Integer commentId;
        @ApiModelProperty("评论人头像")
        private String userLogo;
        @ApiModelProperty("评论人名")
        private String userName;
        private String userChatId;
        @ApiModelProperty("回复人名(可能为无)")
        private String replyUserName;
        @ApiModelProperty("评论内容")
        private String content;
        @ApiModelProperty("评论时间")
        private long createTime;
    }
}
